package com.qfedu.zf.common.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.List;
@Data
@TableName("rent")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)// 表明当前方法 set 是链式调用
public class Rent {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String picture;
    private List<String> rentalType;
    private String address;
    private String floor;
    private List<String> houseStar;
    private String houseType;
    private String houseArea;
    private String houseRent;
    private String pay_way;
    private Integer userId;
}
